<?php
$rid = $_POST["rid"];
$name = $_POST["name"];
$db = mysql_connect("mysql513.in.shared-server.net:16033", "JRtu434", "qvoiceDB1");
 mysql_select_db("JRtu434", $db);
 mysql_query("Insert into projects values (\"$rid\",\"$name\")");
 echo "1 row updated";
 mysql_close();
?> 
<html>
<head>
<title>Personal INFO</title>
</head>
<body>
<form method="post" action="<?php echo $PHP_SELF;?>">
RID:<input type="text" size="30" maxlength="30" name="rid">:<br />
調査名:<input type="text" size="30" maxlength="60" name="name">:<br />
<input type="submit" value="submit" name="submit"><br />
</form><br /> 
